From 9458a3b5676bc78eac5807a878b9d8536035d6e2 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 16 Dec 2023 14:24:28 +0000 Subject: Make closures GC objects --- ...t(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 312c3100..d05ee160 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -41,12 +41,12 @@ Locals: Instructions: ( - (alloc-heap (local "closurePointer__User__0") (struct (function-ptr (struct ()) (struct ())))) + (alloc-heap (local "closurePointer__User__0") (struct (data-ptr (struct (function-ptr (struct ()) (struct ())))))) ( memory-store pointer=(local "closurePointer__User__0") - layout=(struct (function-ptr (struct ()) (struct ()))) - offset=(0) + layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct ()))))) + offset=(1 0) value=(function-ptr "shed__function__User__0") ) (data-ptr-to-int (local "structType__User__0") (local "closurePointer__User__0")) -- cgit v1.2.3